package com.vita.core1;

import com.vita.core1.Elevator;
import com.vita.core1.Schedul;

import java.util.concurrent.ExecutionException;

public class Test {
    public static void main(String[] args) throws ExecutionException, InterruptedException {
        Schedul s = new Schedul(15,new Elevator(1),new Elevator(2),new Elevator(3));
        s.setUpList(2,5,9);
        s.setDwList(9,1,2);
        s.run();
        // 上下行目标数判断还有问题
    }
}
